﻿@model IEnumerable<Vcare.Models.CallCentres>

<style type="text/css">
td
{
font-family: 'Trebuchet MS';
font-size: 10px;
}
th
{
font-family: 'Arial Narrow';
font-size: 16px;
color:#C0C0C0;
}
</style>


<h2>Call Centres</h2>
<div class="spacer"></div>
<article>
    <a href="@(Url.Action("Create"))"><img src="../../Images/add.png" /></a>
    <div class="spacer"></div>
</article>
<table  class="listtable contactstable" cellspacing="0" cellpadding="0">
    <tr>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.CallCentre)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Contact1)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Contact2)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Contact3)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Email1)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Email2)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Email3)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.Notes)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.ccsuffix)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.pokey)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.address)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.potitle)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.active)
        </th>
        <th  class="tableheader clickcolumn">
            @Html.DisplayNameFor(model => model.NotificationEmail)
        </th>
        <th  class="tableheader clickcolumn"></th>
    </tr>

@foreach (var item in Model) {
    <tr>
        <td>
           @Html.DisplayFor(modelItem => item.CallCentre)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Contact1)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Contact2)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Contact3)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Email1)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Email2)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Email3)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.Notes)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.ccsuffix)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.pokey)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.address)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.potitle)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.active)
        </td>
        <td>
            @Html.DisplayFor(modelItem => item.NotificationEmail)
        </td>
        <td>
            @Html.ActionLink("Edit", "Edit", new { id=item.CallCentreID }) |
            @Html.ActionLink("Details", "Details", new { id = item.CallCentreID }) |
            @Html.ActionLink("Delete", "Delete", new { id = item.CallCentreID })
        </td>
    </tr>
}
</table>
<div class="spacer"></div>